package com.test.listenerevent;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author zz-lxf
 * @E-mail 629938044@qq.com
 * @Date 2021/12/3 11:35
 * @Version 1.0
 */
@Configuration
public class Config {

    @Bean
    public DmzService service() {
        return new DmzService();
    }

    @Bean
    public DmzListener listener() {
        return new DmzListener();
    }


}
